import FileUtils as fu

fileUtils = fu.FileUtils
deletelines = fileUtils.readLine(fileUtils, r'D:\Users\yincy\Desktop\yin\das需求\交通\飞机票线路\delete\delete.txt')
# for deleteline in deletelines:
#     print(deleteline)

print(len(deletelines))

onlines = fileUtils.readLine(fileUtils, r'D:\Users\yincy\Desktop\yin\das需求\交通\飞机票线路\delete\online.txt')
# for online in onlines:
#     print(online)

# 转成字段
dic = {}
for online in onlines:
    split = online.split('	')
    dic[split[1]] = split[0]

print(len(dic))

for deleteline in deletelines:
    if deleteline in dic:
        print(dic[deleteline])
